<template>
  <el-row>
    <el-col :span="24" class="article-wrapper">
      <h1>为什么vue那么好用</h1>
      <div class="flex">
        <el-tag type="info" v-for="item in ['Vue', '设计语言', '代码规范']" :key="item">
          {{item}}
        </el-tag>
      </div>
      <div class="desc-content">
        <p class="desc">
          段落示意：蚂蚁金服设计平台 ant.design，用最小的工作量，无缝接入蚂蚁金服生态，提供跨越设计与开发的体验解决方案。
          蚂蚁金服设计平台 ant.design，用最小的工作量，无缝接入蚂蚁金服生态，提供跨越设计与开发的体验解决方案。
        </p>
        <div class="extra flex">
          <my-icon-react style="width:30px;height:30px;margin-right:8px" />
          <el-link type="primary">徐建辰</el-link>
          <span>发布在</span>
          <el-link type="primary">https://ant.design</el-link>
          <div class="time">2022-01-08 17:39</div>
        </div>
      </div>
      <ul class="options flex">
        <li class="flex number">
          <el-icon style="font-size:16px;margin-right: 6px;"><el-icon-star /></el-icon>
          <span>121</span>
        </li>
        <li class="flex number">
          <el-icon style="font-size:16px;margin-right: 6px;"><el-icon-chat-dot-round /></el-icon>
          <span>121</span>
        </li>
        <li class="flex number">
          <el-icon style="font-size:16px;margin-right: 6px;"><el-icon-edit /></el-icon>
          <span>121</span>
        </li>
      </ul>
    </el-col>
    <el-col :span="24" class="article-wrapper">
      <h1>这个后台管理太棒了</h1>
      <div class="flex">
        <el-tag type="info" v-for="item in ['Vue', '设计语言', '代码规范']" :key="item">
          {{item}}
        </el-tag>
      </div>
      <div class="desc-content">
        <p class="desc">
          段落示意：蚂蚁金服设计平台 ant.design，用最小的工作量，无缝接入蚂蚁金服生态，提供跨越设计与开发的体验解决方案。
          蚂蚁金服设计平台 ant.design，用最小的工作量，无缝接入蚂蚁金服生态，提供跨越设计与开发的体验解决方案。
        </p>
        <div class="extra flex">
          <my-icon-react style="width:30px;height:30px;margin-right:8px" />
          <el-link type="primary">徐建辰</el-link>
          <span>发布在</span>
          <el-link type="primary">https://ant.design</el-link>
          <div class="time">2022-01-08 17:39</div>
        </div>
      </div>
      <ul class="options flex">
        <li class="flex number">
          <el-icon style="font-size:16px;margin-right: 6px;"><el-icon-star /></el-icon>
          <span>121</span>
        </li>
        <li class="flex number">
          <el-icon style="font-size:16px;margin-right: 6px;"><el-icon-chat-dot-round /></el-icon>
          <span>121</span>
        </li>
        <li class="flex number">
          <el-icon style="font-size:16px;margin-right: 6px;"><el-icon-edit /></el-icon>
          <span>121</span>
        </li>
      </ul>
    </el-col>
    <el-col :span="24" class="article-wrapper">
      <h1>bug不是我写的啊</h1>
      <div class="flex">
        <el-tag type="info" v-for="item in ['Vue', '设计语言', '代码规范']" :key="item">
          {{item}}
        </el-tag>
      </div>
      <div class="desc-content">
        <p class="desc">
          段落示意：蚂蚁金服设计平台 ant.design，用最小的工作量，无缝接入蚂蚁金服生态，提供跨越设计与开发的体验解决方案。
          蚂蚁金服设计平台 ant.design，用最小的工作量，无缝接入蚂蚁金服生态，提供跨越设计与开发的体验解决方案。
        </p>
        <div class="extra flex">
          <my-icon-react style="width:30px;height:30px;margin-right:8px" />
          <el-link type="primary">徐建辰</el-link>
          <span>发布在</span>
          <el-link type="primary">https://ant.design</el-link>
          <div class="time">2022-01-08 17:39</div>
        </div>
      </div>
      <ul class="options flex">
        <li class="flex number">
          <el-icon style="font-size:16px;margin-right: 6px;"><el-icon-star /></el-icon>
          <span>121</span>
        </li>
        <li class="flex number">
          <el-icon style="font-size:16px;margin-right: 6px;"><el-icon-chat-dot-round /></el-icon>
          <span>121</span>
        </li>
        <li class="flex number">
          <el-icon style="font-size:16px;margin-right: 6px;"><el-icon-edit /></el-icon>
          <span>121</span>
        </li>
      </ul>
    </el-col>
  </el-row>
</template>

<script setup></script>

<style scoped lang="scss">
.article-wrapper {
  margin-left: 20px;
  padding: 16px 24px;
  border-bottom: 1px solid #f0f0f0;
  &:last-child {
    border-bottom: 0;
  }
  h1 {
    margin-bottom: 12px;
    line-height: 24px;
    @include sc($font-size-medium-x, rgba(0, 0, 0, .85))
  }
  .desc-content {
    margin-top: 16px;
    .desc {
      line-height: 22px;
      @include sc($font-size-medium, #666)
    }
    .extra {
      margin-top: 16px;
      @include sc($font-size-medium, $color-text-p)
    }
    span {
      margin: 0 5px;
    }
    el-link {
      font-size: $font-size-medium !important;
    }
    .time {
      @include sc($font-size-small, rgba(0, 0, 0, .25));
      margin-left: 16px;
    }
  }
  .options {
    margin-top: 16px;
    li {
      &:first-child {
        padding-left: 0 !important;
      }
      &:last-child {
        border-right: 0 !important;
      }
      padding: 0 16px;
      @include sc($font-size-medium, rgba(0, 0, 0, .45));
      border-right: 1px solid rgba(0, 0, 0, .1);
      .icon {
        margin-right: 5px;
        font-size: 15px;
      }
    }
  }
}
</style>
